package com.example.patient.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/19 11:39
 * @Version 1.0
 */
@Data
@ApiModel(value = "查询初始筛选项返回体")
public class FilterItemResp implements Serializable {
    private static final long serialVersionUID = 2180708260775248449L;

    @ApiModelProperty(value = "科室")
    @JSONField(name = "dep")
    private List<FilterItemDepResp> dep;
    @ApiModelProperty(value = "职称")
    @JSONField(name = "title")
    private List<String> title;
    @ApiModelProperty(value = "服务")
    @JSONField(name = "service")
    private List<FilterItemServiceResp> service;

    @Data
    public static class FilterItemDepResp implements Serializable {
        private static final long serialVersionUID = -3013390458420452854L;

        @ApiModelProperty(value = "ID")
        @JSONField(name = "ID")
        private Long id;
        @ApiModelProperty(value = "Name")
        @JSONField(name = "Name")
        private String name;
    }

    @Data
    public static class FilterItemServiceResp implements Serializable {
        private static final long serialVersionUID = -7878504437867184490L;

        @ApiModelProperty(value = "Code")
        @JSONField(name = "Code")
        private String code;
        @ApiModelProperty(value = "Name")
        @JSONField(name = "Name")
        private String name;
    }
}




